package com.kayang.feishu.pojo.msg;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.File;
import java.util.Map;

@Data
public class ImageMsg {


    @NotBlank(message = "msg_type 不能为空")
    protected String msg_type = "image";


    /**
     *{
     * "image_key": "img_v2_xxx" //上传图片接口获取
     * }
     * */
    @NotNull(message = "content 不能为空")
    private Map content;


    @NotNull
    private File image;



}
